package br.com.SRP.Modelo;

	import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


	/**
	 * The persistent class for the ckl02Acao database table.
	 * 
	 */
	@Entity
	@Table(name="ckl07CheckListEfetuado")
	public class Ckl07CheckListEfetuado implements Serializable {
		private static final long serialVersionUID = 1L;

		@Id
		@Column(name="codigo")
		@GeneratedValue(strategy=GenerationType.IDENTITY)
		private int codigo;

		@Temporal(TemporalType.TIMESTAMP)
		private java.util.Calendar data;
		
		
		private String variavel;

		//bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "usuario", referencedColumnName = "codigo")
		private Sis01Usuario sis01Usuario;
	    
	  
		//bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "acao", referencedColumnName = "codigo")
		private Ckl02Acao ckl02Acao;
	    
	  //bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "ocorrencia", referencedColumnName = "codigo")
		private Ckl03Ocorrencia ckl03Ocorrencia;
	    
	  //bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "item", referencedColumnName = "codigo")
		private Ckl04Item ckl04Item;
	    
	    //bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "parametroCkl", referencedColumnName = "codigo")
		private Ckl01ParametroCheckList ckl01ParametroCheckList;
	    


	    public Ckl07CheckListEfetuado() {
	    }

		public int getCodigo() {
			return this.codigo;
		}

		public void setCodigo(int codigo) {
			this.codigo = codigo;
		}

		public java.util.Calendar getData() {
			return this.data;
		}

		public void setData(java.util.Calendar data) {
			this.data = data;
		}


		public String getVariavel() {
			return this.variavel;
		}

		public void setVariavel(String variavel) {
			this.variavel = variavel;
		}
		public Sis01Usuario getSis01Usuario() {
			return this.sis01Usuario;
		}

		public void setSis01Usuario(Sis01Usuario sis01Usuario) {
			this.sis01Usuario = sis01Usuario;
		}

		public Ckl02Acao getCkl02Acao() {
			return ckl02Acao;
		}

		public void setCkl02Acao(Ckl02Acao ckl02Acao) {
			this.ckl02Acao = ckl02Acao;
		}

		public Ckl03Ocorrencia getCkl03Ocorrencia() {
			return ckl03Ocorrencia;
		}

		public void setCkl03Ocorrencia(Ckl03Ocorrencia ckl03Ocorrencia) {
			this.ckl03Ocorrencia = ckl03Ocorrencia;
		}

		public Ckl04Item getCkl04Item() {
			return ckl04Item;
		}

		public void setCkl04Item(Ckl04Item ckl04Item) {
			this.ckl04Item = ckl04Item;
		}

		public Ckl01ParametroCheckList getCkl01ParametroCheckList() {
			return ckl01ParametroCheckList;
		}

		public void setCkl01ParametroCheckList(
				Ckl01ParametroCheckList ckl01ParametroCheckList) {
			this.ckl01ParametroCheckList = ckl01ParametroCheckList;
		}
				
	}